{% extends "WileadUserManagerBundle::layout.html.twig" %}

{% block container -%}
<h2>用户【{{ entity.nickname }}】信息</h2>

<div class="row">
    <div class="span12">
        <table class="table">
            <tbody>
                <tr>
                    <th>艺人号</th>
                    <td>{{ entity.systemNum }}</td>
                </tr>
                <tr>
                    <th>手机</th>
                    <td>{{ entity.mobile }}</td>
                </tr>
                <tr>
                    <th>个人签名</th>
                    <td>{{ entity.signature }}</td>
                </tr>
                <tr>
                    <th>呢称</th>
                    <td>{{ entity.nickname }}</td>
                </tr>
                <tr>
                    <th>地区</th>
                    <td>{{ entity.location }}</td>
                </tr>
                <tr>
                    <th>性别</th>
                    <td>{{ entity.sex }}</td>
                </tr>
                <tr>
                    <th>账号类型</th>
                    <td>{{ entity.accountType }}</td>
                </tr>
                <tr>
                    <th>是否会员</th>
                    <td>{{ entity.isMember }}</td>
                </tr>
                <tr>
                    <th>会员到期时间</th>
                    <td>{{ entity.memberExpiredAt|date('Y-m-d H:i:s') }}</td>
                </tr>
                <tr>
                    <th>主要技能</th>
                    <td>{{ entity.masterSkill }}</td>
                </tr>
                <tr>
                    <th>地图定位</th>
                    <td>{{ entity.points }}</td>
                </tr>
                <tr>
                    <th>注册时间</th>
                    <td>{{ entity.created|date('Y-m-d H:i:s') }}</td>
                </tr>
                <tr>
                    <th>资料更新时间</th>
                    <td>{{ entity.updated|date('Y-m-d H:i:s') }}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>

<div class="row"><div class="span12">
{% if entity.UserResume is not null %}
                <h2>简历</h2>
                <table class="table">
                    <tbody>
                        <tr>
                            <th>姓名</th>
                            <td>{{ entity.UserResume.name }}</td>
                        </tr>
                        <tr>
                            <th>生日</th>
                            <td>{% if entity.UserResume.brithday %}{{ entity.UserResume.brithday|date('Y-m-d') }}{% endif %}</td>
                        </tr>
                        <tr>
                            <th>出生地</th>
                            <td>{{ entity.UserResume.birthplace }}</td>
                        </tr>
                        <tr>
                            <th>居住地</th>
                            <td>{{ entity.UserResume.liveplace }}</td>
                        </tr>
                        <tr>
                            <th>民族</th>
                            <td>{{ entity.UserResume.ethnic }}</td>
                        </tr>
                        <tr>
                            <th>身高</th>
                            <td>{{ entity.UserResume.height }}CM</td>
                        </tr>
                        <tr>
                            <th>体重</th>
                            <td>{{ entity.UserResume.bodyWeight }}KG</td>
                        </tr>
                        <tr>
                            <th>学校</th>
                            <td>{{ entity.UserResume.bodyWeight }}</td>
                        </tr>
                        <tr>
                            <th>专业1</th>
                            <td>{{ entity.UserResume.specialty }}</td>
                        </tr>
                        <tr>
                            <th>专业2</th>
                            <td>{{ entity.UserResume.specialty2 }}</td>
                        </tr>
                        <tr>
                            <th>工作经验1</th>
                            <td>{{ entity.UserResume.workExp }}</td>
                        </tr>
                        <tr>
                            <th>工作经验2</th>
                            <td>{{ entity.UserResume.workExp2 }}</td>
                        </tr>
                        <tr>
                            <th>工作经验3</th>
                            <td>{{ entity.UserResume.workExp3 }}</td>
                        </tr>
                        <tr>
                            <th>工作经验4</th>
                            <td>{{ entity.UserResume.workExp4 }}</td>
                        </tr>
                        <tr>
                            <th>工作经验5</th>
                            <td>{{ entity.UserResume.workExp5 }}</td>
                        </tr>
                        <tr>
                            <th>工作意向</th>
                            <td>{{ entity.UserResume.intention }}</td>
                        </tr>
                        <tr>
                            <th>毕业院校</th>
                            <td>{{ entity.UserResume.graduationAt }}</td>
                        </tr>
                        <tr>
                            <th>技能描述</th>
                            <td>{{ entity.UserResume.skillDescription }}</td>
                        </tr>
                        <tr>
                            <th>自我评价</th>
                            <td>{{ entity.UserResume.valuate }}</td>
                        </tr>
                        <tr>
                            <th>学历</th>
                            <td>{{ entity.UserResume.diploma }}</td>
                        </tr>
                    </tbody>
                </table>
{% endif %}
{% if entity.UserIntroduction is not null %}
                <h2>机构简介</h2>
                <table class="table">
                    <tbody>
                        <tr>
                            <th>城市</th>
                            <td>{{ entity.UserIntroduction.city }}</td>
                        </tr>
                        <tr>
                            <th>地址</th>
                            <td>{{ entity.UserIntroduction.address }}</td>
                        </tr>
                        <tr>
                            <th>证件号码</th>
                            <td>{{ entity.UserIntroduction.permitId }}</td>
                        </tr>
                        <tr>
                            <th>证件图片</th>
                            <td><img src="{{ entity.UserIntroduction.permitImg }}" /></td>
                        </tr>
                        <tr>
                            <th>机构简介</th>
                            <td>{{ entity.UserIntroduction.description }}</td>
                        </tr>
                        <tr>
                            <th>其它证件号码</th>
                            <td>{{ entity.UserIntroduction.otherPermitId }}</td>
                        </tr>
                        <tr>
                            <th>其它证件图片</th>
                            <td><img src="{{ entity.UserIntroduction.otherPermitImg }}" /</td>
                        </tr>
                    </tbody>
                </table>
{% endif %}
            </div></div>

        <div class="record_actions">
            <a class="btn btn-primary" href="{{ path('manager_user') }}">返回列表</a>
        </div>
{% endblock %}